﻿using System;
using System.Runtime.Serialization;

namespace VNet.VisiSuite.Service.Contact.Message.Item
{
    [DataContract(Namespace = VisiSuiteNamespace.Uri + "dto/ScheduledDowntimeItem")]
    public class ScheduledDowntimeItem
    {
        [DataMember(IsRequired = true)]
        public int ScheduleId { get; set; }

        [DataMember(IsRequired = true)]
        public int AreaId { get; set; }

        [DataMember(IsRequired = true)]
        public string Subject { get; set; }

        [DataMember(IsRequired = true)]
        public int ReasonCodeId { get; set; }

        [DataMember(IsRequired = true)]
        public DateTime StartTime { get; set; }

        [DataMember(IsRequired = true)]
        public DateTime EndTime { get; set; }

        [DataMember(IsRequired = true)]
        public int? ScheduleRepeatId { get; set; }

        [DataMember(IsRequired = true)]
        public string CreatedBy { get; set; }

        [DataMember(IsRequired = true)]
        public string LastUpdatedBy { get; set; }

        [DataMember(IsRequired = true)]
        public DateTime CreatedDate { get; set; }

        [DataMember(IsRequired = true)]
        public DateTime LastUpdatedDate { get; set; }
    }
}